﻿using SqlSugar;
using System;

namespace HamcoWcs.Tools.Tibco.Entities
{
    [SugarTable("system_error_log")]
    public class SystemErrorLog
    {
        public SystemErrorLog()
        {

        }

        public SystemErrorLog(string msg)
        {
            Id = 0;
            Log = msg;
            CreatedTime = DateTime.Now;
            LastUpdateTime = DateTime.Now;
        }

        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "BIGINT(20)")]
        public long Id { get; set; }
        public string Log { get; set; }
        public DateTime CreatedTime { get; set; }
        public DateTime LastUpdateTime { get; set; }
    }
}
